home *** CD-ROM | disk | FTP | other *** search
-
-
-
- mmmmaaaattttttttrrrriiiibbbb((((1111)))) mmmmttttoooooooollllssss----3333....9999....1111 ((((11110000JJJJuuuunnnn99998888)))) mmmmaaaattttttttrrrriiiibbbb((((1111))))
-
-
-
- NNNNaaaammmmeeee
- mattrib - change MSDOS file attribute flags
-
-
-
- NNNNooootttteeee
- This manpage has been automatically generated from mtools's
- texinfo documentation. However, this process is only
- approximative, and some items, such as crossreferences,
- footnotes and indices are lost in this translation process.
- Indeed, this items have no appropriate representation in the
- manpage format. Moreover, only the items specific to each
- command have been translated, and the general information
- about mtools has been dropped in the manpage version. Thus
- I strongly advise you to use the original texinfo doc.
-
- * To generate a printable copy from the texinfo doc, run
- the following commands:
-
- ....////ccccoooonnnnffffiiiigggguuuurrrreeee;;;; mmmmaaaakkkkeeee ddddvvvviiii;;;; ddddvvvviiiippppssss mmmmttttoooooooollllssss....ddddvvvviiii
-
-
-
- * To generate a html copy, run:
-
- ....////ccccoooonnnnffffiiiigggguuuurrrreeee;;;; mmmmaaaakkkkeeee hhhhttttmmmmllll
-
- A premade html can be found at:
- `http://www.tux.org/pub/knaff/mtools'
-
- * To generate an info copy (browsable using emacs' info
- mode), run:
-
- ....////ccccoooonnnnffffiiiigggguuuurrrreeee;;;; mmmmaaaakkkkeeee iiiinnnnffffoooo
-
-
-
- The texinfo doc looks most pretty when printed or as html.
- Indeed, in the info version certain examples are difficult
- to read due to the quoting conventions used in info.
-
- DDDDeeeessssccccrrrriiiippppttttiiiioooonnnn
- Mattrib is used to change MS-DOS file attribute flags. It
- has the following syntax:
-
- mattrib [-a|+a] [-h|+h] [-r|+r] [-s|+s] [-/] [-X] _m_s_d_o_s_f_i_l_e
- [ _m_s_d_o_s_f_i_l_e_s ... ]
-
- Mattrib adds attribute flags to an MS-DOS file (with the `+'
- operator) or remove attribute flags (with the `-' operator).
-
- Mattrib supports the following attribute bits:
-
-
-
- Page 1 (printed 7/15/98)
-
-
-
-
-
-
- mmmmaaaattttttttrrrriiiibbbb((((1111)))) mmmmttttoooooooollllssss----3333....9999....1111 ((((11110000JJJJuuuunnnn99998888)))) mmmmaaaattttttttrrrriiiibbbb((((1111))))
-
-
-
- a Archive bit. Used by some backup programs to indicate
- a new file.
-
- r Read-only bit. Used to indicate a read-only file.
- Files with this bit set cannot be erased by DEL nor
- modified.
-
- s System bit. Used by MS-DOS to indicate a operating
- system file.
-
- h Hidden bit. Used to make files hidden from DIR.
-
- Mattrib supports the following command line flags:
-
- / Recursive. Recursively list the attributes of the
- files in the subdirectories.
-
- X Concise. Prints the attributes whithout any whitespace
- padding. This is convenient for script. If neither
- the "/" option is given, nor the _m_s_d_o_s_f_i_l_e contains a
- wildcard, and there is only one Msdos file parameter on
- the command line, only the attribute is printed, and
- not the filename. This option is convenient for
- scripts
-
- SSSSeeeeeeee AAAAllllssssoooo
- Mtools' texinfo doc
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 2 (printed 7/15/98)
-
-
-
-